#ifndef _BSP_TIM_H_
#define _BSP_TIM_H_

/**
 * @brief   1ms timer init
 * @param   none
 * @return  none
 */
void tim3_init(void);
#include <stdint.h> 
extern volatile uint32_t g_system_ticks;

#define GET_CURRENT_TIME() (g_system_ticks)

#define DELAY_EXPIRED(start, delay) ((g_system_ticks - (start)) >= (delay))
#endif
